from django.urls import path, re_path
from rest_framework_jwt.views import obtain_jwt_token

from . import views

urlpatterns = [
    re_path(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SmsView.as_view()),
    re_path(r'^users/$', views.RegisterView.as_view()),
    # re_path(r'^authorizations/$', obtain_jwt_token),
    re_path(r'^authorizations/$', views.Login.as_view()),
    re_path(r'^user/$', views.UserRetrieveUpdateAPIView.as_view()),
    re_path(r'^user/password/$',views.PassWord.as_view()),
    re_path(r'^users/like/(?P<pk>\d+)/$',views.UserLike.as_view()),
    re_path(r'user/label/', views.UserLable.as_view()),

]

